package com.zhiche.lisa.lspm.dao.mapper.lsp;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zhiche.lisa.lspm.dao.model.lsp.LspFormal;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 认证承运商 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-05-23
 */
@Component
public interface LspFormalMapper extends BaseMapper<LspFormal> {

    /**
     * 批量插入
     * @param formalList
     */
    void batchInsert(@Param("formalList") List<LspFormal> formalList);

    /**
     * 批量根据承运商 id 删除认证信息
     * @param lspIdList
     */
    void batchDeleteByLspId(@Param("lspIdList") List<Integer> lspIdList);
}
